﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace ERP.ERPModels.Production.ProductionManagement
{
    /// <summary>
    /// 生产退料
    /// </summary>
    public class ProductionRejection : Entity<int>
    {

        /// <summary>
        /// 退料单编号
        /// </summary>
        public string ReturnNumber { get; set; }

        /// <summary>
        /// 退料单名称
        /// </summary>
        public string ReturnName { get; set; }

        /// <summary>
        /// 关联的生产工单编号
        /// </summary>
        public string WorkOrderNumber { get; set; }

        /// <summary>
        /// 接收仓库名称
        /// </summary>
        public string ReceivingWarehouse { get; set; }

        /// <summary>
        /// 退料日期
        /// </summary>
        public DateTime ReturnDate { get; set; }

        /// <summary>
        /// 备注信息
        /// </summary>
        public string Remarks { get; set; }

        /// <summary>
        /// 状态（待审核/已审核/已退回）
        /// </summary>
        public string Status { get; set; }

        /// <summary>
        /// 操作描述（退料原因/处理方式等）
        /// </summary>
        public string Operation { get; set; }

        /// <summary>
        /// 记录创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 记录更新时间
        /// </summary>
        public DateTime UpdateTime { get; set; }
    }
}
